
#ifndef GROUPEDOPERA_H
#define GROUPEDOPERA_H

#include <BPickHit>
#include "Opera.h"

class GroupedOpera : public Opera
{
public:
	GroupedOpera(BGroup* master, BScene* scene);

	void addHit(BPickHit* hit);

	virtual bool redo();
	virtual bool undo();

private:
	BSceneHolder			_scene;
	BGroupHolder			_master;
	BPickHitHolderArray		_pickHits;
};

#endif
